<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
        <style type="text/css">
            #id001{
                color: blue;
                font-size: 30px;
                border: 1px solid yellow;
            }
            #id002{
                color: red;
                font-size: 20px;
                border: 5px dotted green
            }
    </style>
</head>
<body>
    <div id="id001">第一个div</div>
    <div id="id002">第二个div</div>
    <span>第一个span</span>
    <span>第二个span</span>
</body>
</html>